<template>
	<!-- 个人资料 已完成 -->
	<view class="container">
		<view class="">
			<my-header ref="myhead" title='个人资料'></my-header>
		</view>
		<view class="body">
			<view class="baseinfo">
				<view class="title">基础信息</view>
				<view class="first">
					<text>昵称</text>
					<text>松青</text>
				</view>
				<view class="tow">
					<text>账号</text>
					<text>15466615564</text>
				</view>
			</view>
			<view class="baseinfo">
				<view class="title">账号绑定</view>
				<view class="first">
					<text>微信</text>
					<text>{{personalData.userInfo.weixin | phoneNumber}}</text>
				</view>
				<view class="tow">
					<text>支付宝</text>
					<text>{{personalData.userInfo.zfb | phoneNumber}}</text>
				</view>
				<view class="tow">
					<text>银行卡</text>
					<text>{{personalData.userInfo.cardNumber | bankCard}}</text>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				personalData: {
					baseInfo: {},
					userInfo: {
						weixin: '13411111111',
						zfb: '15411111111',
						cardNumber: '84619611111111114663'
					}
				},
			}
		},
		methods: {}
	}
</script>

<style lang="scss" scoped>
	.container {
		background-color: #11112B;
		color: #fff;
		width: 100%;
		height: 100vh;

		.body {
			width: 100%;
			box-sizing: border-box;
			margin-top: 10%;

			.baseinfo {
				width: 80%;
				margin: 10% auto;

				view {
					padding-top: 50rpx;
				}

				h3 {
					font-weight: 700;
					font-size: 60rpx
				}

				.title {
					font-size: 40rpx;
				}

				.first {
					display: flex;
					justify-content: space-between;
					align-items: center;
				}

				.tow {
					display: flex;
					justify-content: space-between;
					align-items: center;
				}

			}
		}
	}
</style>